import {http} from '../request'

// 2、定义登录函数接口
export default{
   
   confirmOrder (cartInforList){
       return http({
           url: `/api/order/confirmOrder`,
           method: 'post',
		   data:cartInforList
       })
   },
   submitOrder (orderDTO){
       return http({
           url: `/api/order/submitOrder`,
           method: 'post',
   		   data:orderDTO
       })
   },
   
   myOrderList(pageNo,pageSize){
	   return http({
	       url: `/api/order/findOrderPage/${pageNo}/${pageSize}`,
	       method: 'post'
	   })
   }
}